package com.atcc.test.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.atcc.test.serviceImpl.SecurityUserService;

@RestController
@RequestMapping("/")
public class LoginController {
	
	@Autowired
	SecurityUserService securityUserService;
	
	@GetMapping("index")
	public String index(@RequestParam String name,
			@RequestParam String password) {
		System.out.println("name: " + name + " password" + password);
		return "test";
	}

}
